function ShowSongLists(){
    let res = {}; 
    let d = []; 
    let url ="https://kuwo.cn/playlist_detail/"+MY_URL.split("#")[2];
    var cookieinfo = fetchCookie(url,{headers:{},method:'GET'});
    var cookie = JSON.parse(cookieinfo)[0].match(/kw_token=[\s\S]*?\;/)[0].replace(";","");
    var csrf = cookie.split("=")[1];
    try{
        var json = JSON.parse(fetch(MY_URL.split("#")[1],{headers:{'content-type':'application/json','cookie':cookie,'csrf':csrf}}));
        let cover = json.data.img;
        let info = json.data.info;
        let keyword = json.data.tag;
        let username = json.data.userName;
        let title = json.data.name;
        let songlists = json.data.musicList;
        if(MY_URL.split("pn=")[1].split("&")[0] == 1){
            d.push({
                title:title,
                img:cover,
                desc:"关键词："+keyword.replace(/\,/g," ")+"\n作者："+username+"\n状态："+getVar("isplayed","显示歌单"),
                url:'hiker://empty@lazyRule=.js:putVar("isplayed",getVar("isplayed","显示歌单") == "显示歌单"?"播放歌曲":"显示歌单");refreshPage();"toast://切换成功"',
                col_type:"movie_1_left_pic"
            },{
                col_type:"line_blank"
            },{
                title:'<span style="color:#88ADA6">&emsp;&emsp;'+ info+"</span>", 
                col_type:"rich_text"
            },{
                col_type:"line_blank"
            },{
                title:'<span style="color:#F47983">封面&emsp;&emsp;歌曲&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;歌手&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;时长</span>', 
                col_type:"rich_text"
            },{
                col_type:"line"
            });
        }
        if(getVar("isplayed","显示歌单") == "显示歌单"){
            for(let i=0;i<songlists.length;i++){
                d.push({
                    title:songlists[i].name+"※"+songlists[i].artist+"✦"+songlists[i].songTimeMinutes,
                    pic_url:songlists[i].pic,
                    url:"hiker://empty#https://kuwo.cn/api/www/music/musicInfo?mid="+songlists[i].rid+"&httpsStatus=1#"+songlists[i].rid +'@rule=js:var jsonfile = "hiker://files/kuwo/songdetail.js";var picfun = fetch(jsonfile);if(!picfun){picfun = fetch("https://gitee.com/mofeibai/hiker_info/raw/master/kuwo/songdetail.js",{});writeFile(jsonfile,picfun);}eval(picfun);ShowSongs();',
                    col_type:"avatar"
                });

            }
        }else {
            for(let i=0;i<songlists.length;i++){
                let mp3url = "https://kuwo.cn/url?format=mp3&rid="+songlists[i].rid+"&response=url&type=convert_url3&br=128kmp3&from=web&t="+(new Date().getTime())+"&httpsStatus=1";
                let mp3 = JSON.parse(fetch(mp3url,{})).url;
                d.push({
                    title:songlists[i].name+"※"+songlists[i].artist+"✦"+songlists[i].songTimeMinutes,
                    pic_url:songlists[i].pic,
                    url:mp3,
                    col_type:"avatar"
                });
            }
        }
    }catch(e){
        d.push({
            title:"再试试",
            col_type:"text_center_1"
        })
    }
    res.data = d; 
    setHomeResult(res);
}

